let api = '';
let javaApi = ''; 

if(process.env.NODE_ENV === 'development') {
    api = '/api';
    javaApi = '/javaApi';
}

if (process.env.NODE_ENV === 'production') {
    api = '//' + window.location.host;
    javaApi = '//japi.gzrc.com.cn/yl1001/api'
}

export {
    api,
    javaApi,
}